<template>
  <div class="group">
    <groupAnalysis
      v-if="gaugeId == '314777_1633069375781_f52ede3a08f140f680f040b2df8adba7'"
    ></groupAnalysis>
    <groupAnalysis2 v-else></groupAnalysis2>
  </div>
</template>

<script>
import autoWarning from "./autoWarning.vue";
import groupAnalysis2 from "./groupAnalysis2.vue";
import groupAnalysis from "./groupAnalysis.vue";

export default {
  name: "roup",
  components: { autoWarning, groupAnalysis, groupAnalysis2 },
  data() {
    return {
      gaugeId: "",
      type: {},
      option: {
        column: [
          {
            icon: "el-icon-question",
            label: "团体报告分析",
            prop: "analysis",
          },
          {
            icon: "el-icon-warning",
            label: "自动预警团体报告",
            prop: "warning",
          },
        ],
      },
    };
  },
  created() {
    this.gaugeId = this.$route.query.gaugeId || "";
    this.type = this.option.column[0];
  },
  methods: {
    handleChange(column) {
      this.type = column;
    },
  },
};
</script>

<style lang="scss" scoped>
.group {
}
</style>
